package com.qf.iot.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 设备表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("qf_device")
public class QfDevice {
@TableId(type = IdType.INPUT)
  private long id;
  @TableField("name")
  private String name;
  private String deviceKey;
  private long deviceTypeId;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long deleted;
  private long productId;
  private long parentId;
  private String tenantId;
  private long groupId;
  private long active;
  private String deviceSecret;
  private long deviceIndex;
  @TableField(exist = false)
  private QfDeviceType deviceType;

  @TableField(exist = false)
  private  QfProduct product;












































}
